package com.dj.mingkong.admin.biz.controller.system.vo.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 用户角色VO
 *
 * @author zenglonghui
 * @date: 2022/8/16 9:17
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class UserRoleVo implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 角色id
     */
    private Long roleId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 过期时间
     */
    private LocalDateTime expiredDate;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private List<Long> roleIdList;
}
